package com.lishuang.product.service;

import com.lishuang.basic.service.IBaseService;
import com.lishuang.product.domain.Product;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lishuang
 * @since 2022-06-20
 */
public interface IProductService extends IBaseService<Product> {

    /**
     * 上架
     *
     * @return
     */
    void onsale(List<Long> ids, HttpServletRequest request);

    /**
     * 下架
     *
     * @return
     */
    void offsale(List<Long> ids);

}
